package com.beta.dto.user;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by vector on 2016/11/21.
 */
@Getter
@Setter
public class UserRegisterDto implements Serializable {

    private static final long serialVersionUID = -4904727424203839295L;

    @NotBlank(message = "user.phone.blank")
    private String phone;

    @NotBlank(message = "user.password.blank")
    private String password;

    @NotBlank(message = "user.username.blank")
    private String username;

    @NotBlank(message = "user.shopName.blank")
    private String name;

    @NotBlank(message = "user.type.blank")
    private String userType;

    @NotBlank
    private String cityName;

    @NotBlank(message = "user.city.blank")
    private String cityCode;

    @NotBlank(message = "user.customerManager.blank")
    private String customerManagerCode;

}
